// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
// import fastclick from 'fastclick'
import router from './router'
import 'common/stylus/index.styl'
import store from './store'
// import ElementUI from 'element-ui'
import VueLazyLoad from 'vue-lazyload'
import axios from 'axios'
Vue.prototype.$http = axios
import 'element-ui/lib/theme-default/index.css'
/* eslint-disable no-unused-vars */
// import vConsole from 'vconsole'
console.log('test')
// fastclick.attach(document.body)
import ElementUI from 'element-ui'

Vue.use(ElementUI)

Vue.config.productionTip = false
// Vue.use(ElementUI)
/* eslint-disable no-new */
Vue.use(VueLazyLoad, {
  loading: require('common/image/default.png')
})
new Vue({
  el: '#app',
  render: h => h(App),
  router,
  store
})
